import { createRouter, createWebHashHistory } from 'vue-router'
import Login from "../views/Login";
// import Vuerouter from "vue-router"
import ElementPlus from "element-plus";

// Vue.use(VueRouter)
// app.use(App).use(store).use(router).mount('#app')


// a.use(createRouter)  啊啊啊啊 成功了 Vue3 不需要这句话

const routes = [
  {
    path: '/',
    name: 'Login',
    component: Login
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
